﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CentaLine.Infrastructure;

namespace CentaLine.Site.Controllers
{
    public class BaseController : Controller
    {
        protected override void OnException(ExceptionContext filterContext)
        {
            if (filterContext == null)
            {
                base.OnException(filterContext);
            }
            Logger.Log.Error(filterContext.Exception);
        }
    }
}
